<?php if (exist_widget_column('bottombars')) : // only display bottombar if populated with widgets ?>
	<div id="bottombars">

		<div id="bottombar-column1" class="bottombar-column"><!-- Widgetized Footer -->
<?php if (exist_widget_column('Bottombar Column1')) { ?>
			<ul class="xoxo">
<?php dynamic_sidebar('Bottombar Column1') ?>
			</ul>
<?php } ?>
		</div><!-- #bottombar-column1 .bottombar-column -->

		<div id="bottombar-column2" class="bottombar-column">
<?php if (exist_widget_column('Bottombar Column2')) { ?>
			<ul class="xoxo">
<?php dynamic_sidebar('Bottombar Column2') ?>
			</ul>
<?php } ?>
		</div><!-- #bottombar-column2 .bottombar-column -->

		<div id="bottombar-column3" class="bottombar-column">
<?php if (exist_widget_column('Bottombar Column3')) { ?>
			<ul class="xoxo">
<?php dynamic_sidebar('Bottombar Column3') ?>
			</ul>
<?php } ?>
		</div><!-- #bottombar-column3 .bottombar-column -->

	</div><!-- #bottombars -->
<?php endif; // end exists_footer_column  ?>

	<div id="footer">

		<span id="copyright"><?php bloginfo('name'); ?></span>
		<span class="meta-sep">|</span>
		<span id="generator-link"><?php printf(__('<a href="http://wordpress.org/" title="Powered by Wordpress %s" rel="generator">Wordpress</a>', 'dkret'), get_bloginfo('version')) ?></span>
		<span class="meta-sep">|</span>
		<span id="theme-link"><a href="<?php echo TEMPLATEURI ?>" rel="designer"><?php echo TEMPLATENAME ?> <?php if (TEMPLATEVERSION != 'unknown') echo TEMPLATEVERSION ?></a> <?php if (TEMPLATENAME != 'dkret3') printf(__('based on <a href="%1$s" title="%3$s">%2$s</a>', 'dkret'), THEMEURI, THEMENAME, DKRETVERSION) ?></span>
		<span class="meta-sep">|</span>
		<span id="xhtml-validator-link"><a href="http://validator.w3.org/check?uri=referer" title="valid">XHTML</a></span>
		<span class="meta-sep">|</span>
		<span id="css-validator-link"><a href="http://jigsaw.w3.org/css-validator/check/referer" title="valid">CSS</a></span>
		<span class="meta-sep">|</span>
		<span id="footer-login"><?php global $user_ID; if ( $user_ID ) { wp_register('',''); } else { wp_loginout(); } ?></span>

	</div><!-- #footer-bottom -->

</div><!-- #wrapper .hfeed -->

<?php wp_footer(); ?>

</body>
</html>